﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hyt.Core.Data
{
    public interface IPagedQueryable<T>
    {
        int Total { get; set; }
        int PageSize { get; set; }
        int PageIndex { get; set; }
        IQueryable<T> Data { get; set; }

        PagedList<T> ToList();
    }
}
